home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr49
/
273_01.zip
/
SCROLLDN.CC
< prev
next >
Wrap
Text File
|
1993-04-04
|
568b
|
22 lines
#include <dos.h>
scroll_dn(int trow, int lcol,int brow, int rcol,int attr, int lines)
/* This will scroll the defined window down x number of lines:
trow=upper left row
lcol=upper left column
brow=lower right row
rcol=lower right col
lines=number of lines to scroll
*/
{
union REGS inregs;
inregs.h.bh = attr;
inregs.h.cl = lcol;
inregs.h.ch = trow;
inregs.h.dl = rcol;
inregs.h.dh = brow;
inregs.h.al = lines;
inregs.h.ah = 7; /* do the backscroll */
int86(0x10,&inregs,&inregs);
}